import styled from "styled-components";



export const HeaderRightWarpper = styled.div`
  flex: 1;
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: ${props => props.theme.textColor.primaryColor};
  
  .btns{
    display: flex;
    align-items: center;
    
    .btn {
      height: 18px;
      line-height: 18px;
      padding: 12px 15px;
      cursor: pointer;
      border-radius: 21px;
      
      &:hover {
        background-color: #f5f5f5;
      }
    }
  }
  .userset{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px;
    width: 80px;
    height: 40px;
    margin-right: 20px;
    
    justify-content: space-around;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: #fff;
    //background-color: red;
    cursor: pointer;

    ${props => props.theme.mixin.boxShadow};
    
    
    .redDot{
      position: absolute;
      top: 5px;
      right: 8px;
      width: 6px;
      height: 6px;
      border-radius: 3px;
      background-color: ${props => props.theme.color.primaryColor};
    }
   .panel{
     position: absolute;
     right: 0;
     top: 40px;
     width: 200px;
     //height: 180px;
     background-color: #fff;
     border: 1px solid #eee;
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.18);
     color: #666;
     
     .top {
       margin-top: 10px;
       margin-left: 10px;
       margin-right: 10px;
       padding-bottom: 10px;
       border-bottom: 1px solid #eee;
       
     }
     .itemtext{
       padding: 5px 5px;
       &:hover {
         background-color: #f5f5f5;
       }
     }

     .bottom {
       margin-top: 10px;
       margin-left: 10px;
       margin-right: 10px;
       padding-bottom: 10px;
       border-bottom: 1px solid #eee;

     }
   }

  }
`
